#ifndef STATISTICS_H
#define STATISTICS_H

#include "swing.h"
#include "map.h"
#include<string>
#include<vector>

/**
 * Got a little bogged down with how it would be represented on the back-end. Either a
 * scorecard would have all the swings stored with it or all the swings which are already
 * stored with map could be used. It probably would come down to how much downloading the
 * image would cost in terms of bandwidth/battery life, but if viewing statistics most likely
 * the map would be used eventually.
 */

class statistics {
    public:
        Statistics();
        ~Statistics();
        void pullStats();
        void viewByDate(int[6]);
        void viewByCourse(std::string);
        void viewByClub(std::string);
        void postStats();
    private:
        std::vector<Swing> swings;
};
#endif STATISTICS_H
